const voteModel = require("../model/vote")
class Vote{
    static async getvoteList(ctx){
        let list = await voteModel.get()
        ctx.body = {
            code:200,
            codeInfo:"成功",
            data:list
        }
    }
}
module.exports=Vote